package com.laolei.core.rest.annotation;

public enum RestMethod {
	AUTO("GET"), GET, POST, PUT, PATCH, DELETE, TRACE,;


	final String method;

	private RestMethod() {
		this.method = super.name();
	}
	
	private RestMethod(String method) {
		this.method = method;
	}

	public String method() {
		return method;
	}
}
